package com.example.lhsama.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Date: 2021年09月19日 14:21
 * @Author: LHSAMA
 */
@Data
public class SysLog {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date visitTime;
    @TableField(exist = false)
    private String visitTimeStr;
    private String userName;
    private String ip;
    private String url;
    private Long executionTime;
    private String method;
}
